module im_4k(
    input   [11:0] addr,  
    output  reg [31:0] dout
); 

    reg     [31:0] im[2047:0];
    
    initial
    begin
        $readmemh("./sim/test_hazard.txt", im,0,2047);
    end
    always @(*) begin
         assign dout = im[addr[11:2]];
    end
   

endmodule
